<?php


namespace App\Http\Controllers\Api\v1;

use App\Http\Controllers\Controller;
use App\Logic\liveBroadcastLogic;
use Illuminate\Http\Request;
use function Symfony\Component\Translation\t;

/**
 * Class liveBroadcastController
 * @package App\Http\Controllers\Api\v1
 * @name wjy
 * 直播
 */
class liveBroadcastController extends Controller
{
    /**
     * 推流
     * @return string
     */
    public function getPushUrl(){
        $getPushUrl=new liveBroadcastLogic();
        $data=$getPushUrl->getPushUrl('live','wangjinyu');
        return $data;
    }
    /**
     * 播流
     */
    public function getBoUrl(){
        $getBo=new liveBroadcastLogic();
        $data=$getBo->getBoUrl('live','wangjinyu');
        return $data;
    }
}
